﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ApplyLStatList.aspx.cs" Inherits="ZLCMS.Web.SystemManage.weixin.ApplyLStatList" %>

<%@ Import Namespace ="ZLCMS.Business.Util" %>

<%=_framePage.GetPagerFormHtml(Request.RawUrl)%>

<form id="pageForm" method="post" runat="Server" class="pageForm" 
    onsubmit="return navTabSearch(this);" action="/SystemManage/Weixin/DataApply/ApplyLStatList.aspx">
    
<div class="pageHeader">
	<div class="searchBar">
		<ul class="searchContent">
			<li>
			    <span>开始时间&nbsp;</span>
				<asp:TextBox ID="tb_search_datebegin" runat="server" class="date" format="yyyy-MM-dd" readonly="true" cond="datebegin" ctltype="textbox" ></asp:TextBox>&nbsp;
			</li>
			<li>
			    <span>结束时间&nbsp;</span>
			    <asp:TextBox ID="tb_search_dateend" class="date" format="yyyy-MM-dd" readonly="true" runat="server" cond="dateend" ctltype="textbox"></asp:TextBox>&nbsp;
			</li>
			<li>
			    <span>是否处理&nbsp;</span>
                <asp:dropdownlist runat="server" ID="ddl_isuse" cond="isuse" ctltype="dropdownlist" width="100px"></asp:dropdownlist>&nbsp;&nbsp;				
			</li>
			<li style="display:none">
			    <span>ID&nbsp;</span>
				<asp:TextBox ID="tb_s_id" runat="server" cond="s_id" ctltype="textbox"></asp:TextBox>&nbsp;&nbsp;
			</li>
		</ul>
		<ul class="searchContent">
			<li>
        <div style="height: 25px; line-height: 25px;">
			<span style="margin-right: 20px;">活动状态：&nbsp; <%= ParamKit.GetValue("WxGamesStatus", _applyDb == null ? "SETTING" : _applyDb.Status, "&nbsp;")%></span>
			<span style="margin-right: 20px;">预约报名总数：&nbsp;<%= GetListCount()%></span>
        </div>
			</li>
		</ul>
	    <div class="subBar">
			<ul>
			<li>
			    <a class="buttonActive" href="<%= Request.Path %>" onclick="ZLAN_DWZ_EX.query(this);" 
			    target="navTab" rel="<%= _framePage.NavTabId %>" title="<%= _framePage.NavTabTitle %>"><span>&nbsp;查&nbsp;询&nbsp;</span></a>
			</li>
			<li>
			    <a class="button" href="<%= Request.Path %>" onclick="ZLAN_DWZ_EX.exportFile(this);" 
			    target="dwzExport" rel="exportexcel" title="导出EXCEL"><span>导出EXCEL</span></a>
			</li>
			</ul>
	    </div>
	</div>
</div>

<div class="pageContent">
   	<div class="panelBar">
		<ul class="toolBar">
		<ul class="toolBar">
			<li><a class="edit" href="/SystemManage/Weixin/DataApply/DealApplyLogBatch.aspx?ajax=dels" target="selectedTodo" title="请确定要处理"><span>处理勾选</span></a></li>
		</ul>
		</ul>
	</div>
	<div class="tableList" layoutH="140">
	<table class="list" width="100%" targetType="navTab" asc="asc" desc="desc">
	    <thead>
			<tr>
                <th width="22px"><input type="checkbox" group="ids" class="checkboxCtrl"/></th>
				<th width="15%">&nbsp;&nbsp;登记时间</th>
				<th width="15%">&nbsp;&nbsp;微信号</th>	
                <th style="<%= _itemList[0].IsAvailable == "1" ? "" : "display:none"%>"><%= _itemList[0].Title %></th>
                <th style="<%= _itemList[1].IsAvailable == "1" ? "" : "display:none"%>"><%= _itemList[1].Title %></th>
                <th style="<%= _itemList[2].IsAvailable == "1" ? "" : "display:none"%>"><%= _itemList[2].Title %></th>
                <th style="<%= _itemList[3].IsAvailable == "1" ? "" : "display:none"%>"><%= _itemList[3].Title %></th>
                <th style="<%= _itemList[4].IsAvailable == "1" ? "" : "display:none"%>"><%= _itemList[4].Title %></th>
                <th style="<%= _itemList[5].IsAvailable == "1" ? "" : "display:none"%>"><%= _itemList[5].Title %></th>
                <th style="<%= _itemList[6].IsAvailable == "1" ? "" : "display:none"%>"><%= _itemList[6].Title %></th>
                <th style="<%= _itemList[7].IsAvailable == "1" ? "" : "display:none"%>"><%= _itemList[7].Title %></th>
                <th style="<%= _itemList[8].IsAvailable == "1" ? "" : "display:none"%>"><%= _itemList[8].Title %></th>
                <th style="<%= _itemList[9].IsAvailable == "1" ? "" : "display:none"%>"><%= _itemList[9].Title %></th>
				<th>是否处理</th>
				<th>操作</th>	
			</tr>
		</thead>
		<tbody>
            <asp:repeater runat="server" id="grid">
                <ItemTemplate>
			    <tr target="uid" rel='<%# Eval("Id")%>'>
                    <td><input name="ids" value='<%#Eval("Id")%>' type="checkbox"/></td>
                    <td><%# Eval("OptDate")%></td>
                    <td><%# Eval("WxId")%></td>
                    <td style="<%= _itemList[0].IsAvailable == "1" ? "" : "display:none"%>"><%# Eval("ApplyItem1") %></td>
                    <td style="<%= _itemList[1].IsAvailable == "1" ? "" : "display:none"%>"><%# Eval("ApplyItem2") %></td>
                    <td style="<%= _itemList[2].IsAvailable == "1" ? "" : "display:none"%>"><%# Eval("ApplyItem3") %></td>
                    <td style="<%= _itemList[3].IsAvailable == "1" ? "" : "display:none"%>"><%# Eval("ApplyItem4") %></td>
                    <td style="<%= _itemList[4].IsAvailable == "1" ? "" : "display:none"%>"><%# Eval("ApplyItem5") %></td>
                    <td style="<%= _itemList[5].IsAvailable == "1" ? "" : "display:none"%>"><%# Eval("ApplyItem6") %></td>
                    <td style="<%= _itemList[6].IsAvailable == "1" ? "" : "display:none"%>"><%# Eval("ApplyItem7") %></td>
                    <td style="<%= _itemList[7].IsAvailable == "1" ? "" : "display:none"%>"><%# Eval("ApplyItem8") %></td>
                    <td style="<%= _itemList[8].IsAvailable == "1" ? "" : "display:none"%>"><%# Eval("ApplyItem9") %></td>
                    <td style="<%= _itemList[9].IsAvailable == "1" ? "" : "display:none"%>"><%# Eval("ApplyItem10") %></td>
                    <td><%# ParamKit.GetValue("YesNo_10", Eval("Status"), "")%></td>
				    <td> 
                         <a href='/SystemManage/Weixin/DataApply/DealApplyLog.aspx?uid=<%# Eval("Id")%>' target="navTab" title="处理预约详情" rel="dealapply" >处理</a> 
				    </td>
			    </tr>
                </ItemTemplate>
            </asp:repeater>
		</tbody>
	</table>
	</div>
	
     <%= _framePage.GetPagerContentHtml()%>
</div>
</form>
